UCF STIG Viewer Logo

The system must prevent the root account from logging in from serial consoles.


Overview

Finding ID Version Rule ID IA Controls Severity
RHEL-06-000028 RHEL-06-000028 RHEL-06-000028_rule Low
Description
Preventing direct root login to serial port interfaces helps ensure accountability for actions taken on the systems using the root account.
STIG Date
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2013-02-05

Details

Check Text ( C-RHEL-06-000028_chk )
To check for serial port entries which permit root login, run the following command:

# grep '^ttyS[0-9]' /etc/securetty

If any output is returned, then root login over serial ports is permitted.
If root login over serial ports is permitted, this is a finding.
Fix Text (F-RHEL-06-000028_fix)
To restrict root logins on serial ports, ensure lines of this form do not appear in "/etc/securetty":

ttyS0
ttyS1